package com.cqie.tes.controller;


import com.cqie.tes.comm.R;
import com.cqie.tes.domain.qo.tes.EvalutetaskQo;
import com.cqie.tes.service.ResultService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author DD-GKD
 * @since 2020-09-18
 */
@RestController
@RequestMapping("/result")
public class ResultController {

    @Autowired
    ResultService resultService;

    @ApiOperation("分页查询列表")
    @PostMapping("/list")
    public R list(EvalutetaskQo qo){
        return resultService.getList(qo);
    }
}

